﻿@model IEnumerable<News>
@using UEditorDemo.Controllers
@{
    ViewBag.Title = "Index";
}
<ul>
    @foreach (var item in Model)
    {
        <li>@Html.ActionLink(item.Title??"1", "Detail",new { id=item.Id}) @Html.ActionLink("编辑",nameof(BaiduUEditorController.Form),new { id=item.Id})</li>
    }
</ul>

@Html.ActionLink("新增","Form")


@section scripts{
    <script>
        $(function () {
            
        });
    </script>
}